package model.pojo;

// Generated Jul 21, 2011 5:20:18 PM by Hibernate Tools 3.2.1.GA

public class AcTax implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	private Integer taxId;
	private String taxName;
	private double valueTax = 0.0;
	private AcLanguage lang = new AcLanguage();
	private boolean isSelect = false;

	// Sua lai row thanh column
	private String vnTaxName;
	private String enTaxName;
	private String krTaxName;
	
	public AcTax(boolean isSelect,Integer taxId, String enTaxName, String vnTaxName, String krTaxName, Double valueTax){
		this.isSelect = isSelect;
		this.taxId = taxId;
		this.vnTaxName = vnTaxName;
		this.enTaxName = enTaxName;
		this.krTaxName = krTaxName;
		this.valueTax = valueTax;
	}

	public String getVnTaxName() {
		return vnTaxName;
	}

	public void setVnTaxName(String vnTaxName) {
		this.vnTaxName = vnTaxName;
	}

	public String getEnTaxName() {
		return enTaxName;
	}

	public void setEnTaxName(String enTaxName) {
		this.enTaxName = enTaxName;
	}

	public String getKrTaxName() {
		return krTaxName;
	}

	public void setKrTaxName(String krTaxName) {
		this.krTaxName = krTaxName;
	}

	public boolean isSelect() {
		return isSelect;
	}

	public void setSelect(boolean isSelect) {
		this.isSelect = isSelect;
	}

	public AcTax() {
	}

	public AcTax(int taxid, Double valuetax) {
		this.taxId = taxid;
		this.valueTax = valuetax;
	}

	public AcTax(String taxName, double valueTax) {
		this.taxName = taxName;
		this.valueTax = valueTax;
	}

	public AcTax(int taxid, String taxname, Double valuetax) {
		this.taxId = taxid;
		this.taxName = taxname;
		this.valueTax = valuetax;
	}

	public AcTax(Boolean select, int taxid, String langid, String taxname,
			Double valuetax) {
		this.isSelect = select;
		this.taxId = taxid;
		this.lang.setLangId(langid);
		this.taxName = taxname;
		this.valueTax = valuetax;
	}

	public AcTax(int acid) {
		this.taxId = acid;
	}

	public Integer getTaxId() {
		return this.taxId;
	}

	public void setTaxId(Integer taxId) {
		this.taxId = taxId;
	}

	public String getTaxName() {
		return this.taxName;
	}

	public void setTaxName(String taxName) {
		this.taxName = taxName;
	}

	public double getValueTax() {
		return this.valueTax;
	}

	public void setValueTax(double valueTax) {
		this.valueTax = valueTax;
	}

	public AcLanguage getLang() {
		return lang;
	}

	public void setLang(AcLanguage lang) {
		this.lang = lang;
	}

}
